﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001105 RID: 4357
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SelectChessRogueSubStoryScRsp : IMessage<SelectChessRogueSubStoryScRsp>, IMessage, IEquatable<SelectChessRogueSubStoryScRsp>, IDeepCloneable<SelectChessRogueSubStoryScRsp>, IBufferMessage
	{
		// Token: 0x17003734 RID: 14132
		// (get) Token: 0x0600C2F8 RID: 49912 RVA: 0x0020F83F File Offset: 0x0020DA3F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SelectChessRogueSubStoryScRsp> Parser
		{
			get
			{
				return SelectChessRogueSubStoryScRsp._parser;
			}
		}

		// Token: 0x17003735 RID: 14133
		// (get) Token: 0x0600C2F9 RID: 49913 RVA: 0x0020F846 File Offset: 0x0020DA46
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SelectChessRogueSubStoryScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003736 RID: 14134
		// (get) Token: 0x0600C2FA RID: 49914 RVA: 0x0020F858 File Offset: 0x0020DA58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SelectChessRogueSubStoryScRsp.Descriptor;
			}
		}

		// Token: 0x0600C2FB RID: 49915 RVA: 0x0020F85F File Offset: 0x0020DA5F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SelectChessRogueSubStoryScRsp()
		{
		}

		// Token: 0x0600C2FC RID: 49916 RVA: 0x0020F868 File Offset: 0x0020DA68
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SelectChessRogueSubStoryScRsp(SelectChessRogueSubStoryScRsp other) : this()
		{
			this.iCCDOBIGCLN_ = other.iCCDOBIGCLN_;
			this.chessRogueSubStoryId_ = other.chessRogueSubStoryId_;
			this.rogueDialogueEventId_ = other.rogueDialogueEventId_;
			this.retcode_ = other.retcode_;
			this.iBGBNAJCIHD_ = other.iBGBNAJCIHD_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600C2FD RID: 49917 RVA: 0x0020F8C8 File Offset: 0x0020DAC8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SelectChessRogueSubStoryScRsp Clone()
		{
			return new SelectChessRogueSubStoryScRsp(this);
		}

		// Token: 0x17003737 RID: 14135
		// (get) Token: 0x0600C2FE RID: 49918 RVA: 0x0020F8D0 File Offset: 0x0020DAD0
		// (set) Token: 0x0600C2FF RID: 49919 RVA: 0x0020F8D8 File Offset: 0x0020DAD8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ICCDOBIGCLN
		{
			get
			{
				return this.iCCDOBIGCLN_;
			}
			set
			{
				this.iCCDOBIGCLN_ = value;
			}
		}

		// Token: 0x17003738 RID: 14136
		// (get) Token: 0x0600C300 RID: 49920 RVA: 0x0020F8E1 File Offset: 0x0020DAE1
		// (set) Token: 0x0600C301 RID: 49921 RVA: 0x0020F8E9 File Offset: 0x0020DAE9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ChessRogueSubStoryId
		{
			get
			{
				return this.chessRogueSubStoryId_;
			}
			set
			{
				this.chessRogueSubStoryId_ = value;
			}
		}

		// Token: 0x17003739 RID: 14137
		// (get) Token: 0x0600C302 RID: 49922 RVA: 0x0020F8F2 File Offset: 0x0020DAF2
		// (set) Token: 0x0600C303 RID: 49923 RVA: 0x0020F8FA File Offset: 0x0020DAFA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint RogueDialogueEventId
		{
			get
			{
				return this.rogueDialogueEventId_;
			}
			set
			{
				this.rogueDialogueEventId_ = value;
			}
		}

		// Token: 0x1700373A RID: 14138
		// (get) Token: 0x0600C304 RID: 49924 RVA: 0x0020F903 File Offset: 0x0020DB03
		// (set) Token: 0x0600C305 RID: 49925 RVA: 0x0020F90B File Offset: 0x0020DB0B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x1700373B RID: 14139
		// (get) Token: 0x0600C306 RID: 49926 RVA: 0x0020F914 File Offset: 0x0020DB14
		// (set) Token: 0x0600C307 RID: 49927 RVA: 0x0020F91C File Offset: 0x0020DB1C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint IBGBNAJCIHD
		{
			get
			{
				return this.iBGBNAJCIHD_;
			}
			set
			{
				this.iBGBNAJCIHD_ = value;
			}
		}

		// Token: 0x0600C308 RID: 49928 RVA: 0x0020F925 File Offset: 0x0020DB25
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SelectChessRogueSubStoryScRsp);
		}

		// Token: 0x0600C309 RID: 49929 RVA: 0x0020F934 File Offset: 0x0020DB34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SelectChessRogueSubStoryScRsp other)
		{
			return other != null && (other == this || (this.ICCDOBIGCLN == other.ICCDOBIGCLN && this.ChessRogueSubStoryId == other.ChessRogueSubStoryId && this.RogueDialogueEventId == other.RogueDialogueEventId && this.Retcode == other.Retcode && this.IBGBNAJCIHD == other.IBGBNAJCIHD && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600C30A RID: 49930 RVA: 0x0020F9B0 File Offset: 0x0020DBB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.ICCDOBIGCLN != 0U)
			{
				num ^= this.ICCDOBIGCLN.GetHashCode();
			}
			if (this.ChessRogueSubStoryId != 0U)
			{
				num ^= this.ChessRogueSubStoryId.GetHashCode();
			}
			if (this.RogueDialogueEventId != 0U)
			{
				num ^= this.RogueDialogueEventId.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.IBGBNAJCIHD != 0U)
			{
				num ^= this.IBGBNAJCIHD.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600C30B RID: 49931 RVA: 0x0020FA53 File Offset: 0x0020DC53
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600C30C RID: 49932 RVA: 0x0020FA5B File Offset: 0x0020DC5B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600C30D RID: 49933 RVA: 0x0020FA64 File Offset: 0x0020DC64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ICCDOBIGCLN != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.ICCDOBIGCLN);
			}
			if (this.RogueDialogueEventId != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.RogueDialogueEventId);
			}
			if (this.ChessRogueSubStoryId != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.ChessRogueSubStoryId);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.Retcode);
			}
			if (this.IBGBNAJCIHD != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.IBGBNAJCIHD);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600C30E RID: 49934 RVA: 0x0020FB14 File Offset: 0x0020DD14
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.ICCDOBIGCLN != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ICCDOBIGCLN);
			}
			if (this.ChessRogueSubStoryId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ChessRogueSubStoryId);
			}
			if (this.RogueDialogueEventId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.RogueDialogueEventId);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.IBGBNAJCIHD != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.IBGBNAJCIHD);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600C30F RID: 49935 RVA: 0x0020FBB4 File Offset: 0x0020DDB4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SelectChessRogueSubStoryScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.ICCDOBIGCLN != 0U)
			{
				this.ICCDOBIGCLN = other.ICCDOBIGCLN;
			}
			if (other.ChessRogueSubStoryId != 0U)
			{
				this.ChessRogueSubStoryId = other.ChessRogueSubStoryId;
			}
			if (other.RogueDialogueEventId != 0U)
			{
				this.RogueDialogueEventId = other.RogueDialogueEventId;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.IBGBNAJCIHD != 0U)
			{
				this.IBGBNAJCIHD = other.IBGBNAJCIHD;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600C310 RID: 49936 RVA: 0x0020FC40 File Offset: 0x0020DE40
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600C311 RID: 49937 RVA: 0x0020FC4C File Offset: 0x0020DE4C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 72U)
				{
					if (num == 56U)
					{
						this.ICCDOBIGCLN = input.ReadUInt32();
						continue;
					}
					if (num == 72U)
					{
						this.RogueDialogueEventId = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 88U)
					{
						this.ChessRogueSubStoryId = input.ReadUInt32();
						continue;
					}
					if (num == 104U)
					{
						this.Retcode = input.ReadUInt32();
						continue;
					}
					if (num == 112U)
					{
						this.IBGBNAJCIHD = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04004EB9 RID: 20153
		private static readonly MessageParser<SelectChessRogueSubStoryScRsp> _parser = new MessageParser<SelectChessRogueSubStoryScRsp>(() => new SelectChessRogueSubStoryScRsp());

		// Token: 0x04004EBA RID: 20154
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004EBB RID: 20155
		public const int ICCDOBIGCLNFieldNumber = 7;

		// Token: 0x04004EBC RID: 20156
		private uint iCCDOBIGCLN_;

		// Token: 0x04004EBD RID: 20157
		public const int ChessRogueSubStoryIdFieldNumber = 11;

		// Token: 0x04004EBE RID: 20158
		private uint chessRogueSubStoryId_;

		// Token: 0x04004EBF RID: 20159
		public const int RogueDialogueEventIdFieldNumber = 9;

		// Token: 0x04004EC0 RID: 20160
		private uint rogueDialogueEventId_;

		// Token: 0x04004EC1 RID: 20161
		public const int RetcodeFieldNumber = 13;

		// Token: 0x04004EC2 RID: 20162
		private uint retcode_;

		// Token: 0x04004EC3 RID: 20163
		public const int IBGBNAJCIHDFieldNumber = 14;

		// Token: 0x04004EC4 RID: 20164
		private uint iBGBNAJCIHD_;
	}
}
